package wj.tree.functions;

import wj.WJValue;
import wj.tree.WJNode;

public class WriteLineNode extends WriteNode{
		
	public WriteLineNode(WJNode node){
		super(node);
	}
	
	public WJValue evaluate(){
		if(node != null)
			System.out.println(node.evaluate().toString());
		else
			System.out.println();
		return WJValue.NULL;
	}
}
